package com.tledu.zyf.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.tledu.zyf.exception.SSMException;
import com.tledu.zyf.model.Attachment;

public interface IAttachmentService {

	public void add(MultipartFile file, String filepath) throws SSMException;

	public void delete(int id, String filepath);

	public List<Attachment> list();
}
